﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class feedback
    {
		public string id=null;
		public string title=null;
		public string content=null;
		public string user_name=null;
		public string user_tel=null;
		public string user_qq=null;
		public string user_email=null;
		public string add_time=null;
		public string reply_content=null;
		public string reply_time=null;
		public string is_lock=null;
        public string __name__;
        public feedback(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.title = string.Format("{0}.title",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.user_name = string.Format("{0}.user_name",__name__);
			this.user_tel = string.Format("{0}.user_tel",__name__);
			this.user_qq = string.Format("{0}.user_qq",__name__);
			this.user_email = string.Format("{0}.user_email",__name__);
			this.add_time = string.Format("{0}.add_time",__name__);
			this.reply_content = string.Format("{0}.reply_content",__name__);
			this.reply_time = string.Format("{0}.reply_time",__name__);
			this.is_lock = string.Format("{0}.is_lock",__name__);
        }
        public feedback()
        {
			this.id = string.Format("{0}.id",__name__);
			this.title = string.Format("{0}.title",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.user_name = string.Format("{0}.user_name",__name__);
			this.user_tel = string.Format("{0}.user_tel",__name__);
			this.user_qq = string.Format("{0}.user_qq",__name__);
			this.user_email = string.Format("{0}.user_email",__name__);
			this.add_time = string.Format("{0}.add_time",__name__);
			this.reply_content = string.Format("{0}.reply_content",__name__);
			this.reply_time = string.Format("{0}.reply_time",__name__);
			this.is_lock = string.Format("{0}.is_lock",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "feedback";
            }
            else
            {
                return string.Format("feedback as {0}",__name__);
            }
        }
    }
}